package com.moxiao.yfjh.module.order.tradeRefund.brokeragewithdraw;

import com.moxiao.yfjh.framework.common.pojo.PageResult;
import com.moxiao.yfjh.module.order.controller.admin.brokeragewithdraw.vo.*;
import com.moxiao.yfjh.module.order.dal.dataobject.brokeragewithdraw.BlindBrokerageWithdrawDO;

import javax.validation.Valid;
import java.util.Collection;
import java.util.List;

/**
 * 相亲佣金提现 Service 接口
 *
 * @author mx
 */
public interface BlindBrokerageWithdrawService {

    /**
     * 创建相亲佣金提现
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createBrokerageWithdraw(@Valid BlindBrokerageWithdrawCreateReqVO createReqVO);

    /**
     * 更新相亲佣金提现
     *
     * @param updateReqVO 更新信息
     */
    void updateBrokerageWithdraw(@Valid BlindBrokerageWithdrawUpdateReqVO updateReqVO);

    /**
     * 删除相亲佣金提现
     *
     * @param id 编号
     */
    void deleteBrokerageWithdraw(Long id);

    /**
     * 获得相亲佣金提现
     *
     * @param id 编号
     * @return 相亲佣金提现
     */
    BlindBrokerageWithdrawDO getBrokerageWithdraw(Long id);

    /**
     * 获得相亲佣金提现列表
     *
     * @param ids 编号
     * @return 相亲佣金提现列表
     */
    List<BlindBrokerageWithdrawDO> getBrokerageWithdrawList(Collection<Long> ids);

    /**
     * 获得相亲佣金提现分页
     *
     * @param pageReqVO 分页查询
     * @return 相亲佣金提现分页
     */
    PageResult<BlindBrokerageWithdrawDO> getBrokerageWithdrawPage(BlindBrokerageWithdrawPageReqVO pageReqVO);

    PageResult<BlindBrokerageWithdrawRespVO> selectJoinPage(BlindBrokerageWithdrawPageReqVO reqVO);

    /**
     * 获得相亲佣金提现列表, 用于 Excel 导出
     *
     * @param exportReqVO 查询条件
     * @return 相亲佣金提现列表
     */
    List<BlindBrokerageWithdrawDO> getBrokerageWithdrawList(BlindBrokerageWithdrawExportReqVO exportReqVO);

    /**
     * 获取提现记录list
     */
    List<BlindBrokerageWithdrawDO> getList(BlindBrokerageWithdrawExportReqVO reqVO);

}
